package com.zxy.ziems.server.sync.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zxy.btp.mybatis.base.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 同步
 * @author chdzq
 * @create 2024/04/01
 */
@Data
@TableName("t_sync_meta")
public class SyncMetaEntity extends BaseEntity {

    /**
     *  主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 同步时间
     */
    private LocalDateTime time;

    /**
     * 类型
     */
    private String type;

}
